using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

namespace DataEntity
{
	public class T_LinkAgent_Detal : DBInteractionBase
	{
		#region Class Member Declarations
			private SqlString		_linkAgent_Detal_Link, _linkAgent_Detal_Developer;
			private SqlGuid			_linkAgent_Detal_ID, _linkAgent_Detal_MainID;
		#endregion


		public T_LinkAgent_Detal()
		{
			// Nothing for now.
		}




		#region Class Property Declarations
		public SqlGuid LinkAgent_Detal_ID
		{
			get
			{
				return _linkAgent_Detal_ID;
			}
			set
			{
				_linkAgent_Detal_ID = value;
			}
		}


		public SqlGuid LinkAgent_Detal_MainID
		{
			get
			{
				return _linkAgent_Detal_MainID;
			}
			set
			{
				SqlGuid linkAgent_Detal_MainIDTmp = (SqlGuid)value;
				if(linkAgent_Detal_MainIDTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("LinkAgent_Detal_MainID", "LinkAgent_Detal_MainID can't be NULL");
				}
				_linkAgent_Detal_MainID = value;
			}
		}


		public SqlString LinkAgent_Detal_Link
		{
			get
			{
				return _linkAgent_Detal_Link;
			}
			set
			{
				SqlString linkAgent_Detal_LinkTmp = (SqlString)value;
				if(linkAgent_Detal_LinkTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("LinkAgent_Detal_Link", "LinkAgent_Detal_Link can't be NULL");
				}
				_linkAgent_Detal_Link = value;
			}
		}


		public SqlString LinkAgent_Detal_Developer
		{
			get
			{
				return _linkAgent_Detal_Developer;
			}
			set
			{
				SqlString linkAgent_Detal_DeveloperTmp = (SqlString)value;
				if(linkAgent_Detal_DeveloperTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("LinkAgent_Detal_Developer", "LinkAgent_Detal_Developer can't be NULL");
				}
				_linkAgent_Detal_Developer = value;
			}
		}
		#endregion
	}
}
